#ifndef __AIRKISS_CLOUD_H__
#define __AIRKISS_CLOUD_H__

#include "rtos.h"
#include "mbed.h"
#include "TulingConfig.h"
#include "AirkissInterface.h"
#include "TulingLog.h"
class AirkissCloud
{
public:
	static AirkissCloud & Instance();
	~AirkissCloud();	
	void Init();
	void SetStack(NetworkInterface * _pNetWork);
	void Start();
private:
	AirkissCloud();
	void Bind();
private:
	static AirkissCloud mInstance;
	rtos::Thread thAirkissCloud;
	char  strDeviceType[16];
	char  strDeviceId[64];
	NetworkInterface * pNetWork;
	TulingProfile		*pProfile;
	bool bIsInit;
};

#endif
